import { createRoot } from "react-dom/client";
import "tailwindcss/tailwind.css";
import "@/assets/style/main.css";

if (__STANDALONE__) {
  import("./DialogApp").then(({ default: App }) => {
    const root = createRoot(document.createDocumentFragment());
    root.render(<App />);
  });
} else {
  import("./App").then(({ default: App }) => {
    const root = createRoot(document.getElementById("root")!);
    root.render(<App />);
  });
}
